package com.easy.frame.servers.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 * token表保存接口表单对象
 *
 * @author tp
 * @date 2021/1/21 14:24
 */
@Getter
@Setter
@ToString
@ApiModel("token表前端接收对象")
public class SysTokenDTO {

    @ApiModelProperty("登录名")
    private String username;

    @ApiModelProperty("access_token")
    private String accessToken;

    @ApiModelProperty("过期时间")
    private LocalDateTime expireTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("是否有效")
    private Integer isActive;
}
